package com.profound.blog.controller;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.profound.blog.bean.Country;
import com.profound.blog.service.CountryService;

@Controller
public class CountryContoller {
	
	@Autowired
	private CountryService cs;
	
	@RequestMapping("/showUserInfo")
	public String showUserInfo(Map<String,Object> map){
		List<Country> countryList = cs.listAll();
		map.put("countryList",countryList);
		return "/ModifyPersonInfo";
	}

}
